package com.xiyi.shouxin.exception;

//通用的异常
public class CommonException extends Exception {
    private ErrorCode errorCode;

    public CommonException(ErrorCode errorCode) {
        this.errorCode = errorCode;
    }

    public ErrorCode getErrorCode() {
        return errorCode;
    }
}
